package com.jiaai.cloud.wx.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2017-09-08
 */
@TableName("t_wxgoodsclass")
public class TWxgoodsclass extends Model<TWxgoodsclass> {

    private static final long serialVersionUID = 1L;

    /**
     * 商品分类id
     */
	@TableId(value = "goodsclassid", type = IdType.AUTO)
	private Integer goodsclassid;
    /**
     * 商品分类的名字
     */
	private String goodsclassname;


	public Integer getGoodsclassid() {
		return goodsclassid;
	}

	public void setGoodsclassid(Integer goodsclassid) {
		this.goodsclassid = goodsclassid;
	}

	public String getGoodsclassname() {
		return goodsclassname;
	}

	public void setGoodsclassname(String goodsclassname) {
		this.goodsclassname = goodsclassname;
	}

	@Override
	protected Serializable pkVal() {
		return this.goodsclassid;
	}

	public Integer getShopid() {
		return shopid;
	}

	public void setShopid(Integer shopid) {
		this.shopid = shopid;
	}

	/**
	 * 商品分类的商店ID
	 */
	private Integer shopid;

}
